package org.stars.daostars;

import java.io.Serializable;
import java.util.List;

/**
 * Result of the query.
 * 
 * @author Francesco Benincasa
 *
 */
public class SelectResult<E> implements Serializable {

	protected List<E> list;
	
	public SelectResult()
	{
	}
	
	private static final long serialVersionUID = -7569687744745105132L;
	
	/**
	 * colonne restituite dal result set.
	 */
	protected String[] columns;

	
	/**
	 * Recupera l'elenco delle colonne recuperate dall'ultimo result set.
	 * 
	 * @return array di stringhe delle colonne recuperate
	 */
	public String[] getColumns() {
		return columns;
	}


	public List<E> getList() {
		return list;
	}


	public void setList(List<E> list) {
		this.list = list;
	}
}
